package cn.ztydata.teachingsystem.heaven.entity;

import java.sql.Timestamp;
import java.util.List;

/**
 * 课程实体类
 * Created by chenxin on 2014/12/11.
 */
public class Course extends BaseEntity {
    private Long id; //ID
    private String name; //课程名称
    private String enName; //课程英文名称
    private Long deptId; //系别ID
    private Long specId; //专业ID
    private Integer type; //课程类型
    private Integer nature; //课程性质
    private Integer kind; //课程种类
    private Integer isOpen; //是否校级开放课
    private Integer isCore; //是否核心课程
    private Double credit; //学分
    private Integer theoryPeriod; //理论学时
    private Integer practicePeriod; //实践学时
    private Long creatorId; //创建人ID/课程负责人ID
    private Timestamp createTime; //创建时间
    private Integer status; //发布状态
    private String firstLevel; //第一层级结构名称
    private String secondLevel; //第二层级结构名称
    private String cover; //课程封面
    private String remark; //备注


    private String lessonCode; //课程代码

    private String deptName; //系部名称
    private String specName; //专业名称
    private String creatorName; //课程负责人姓名
    private List<TeacherTeam> team; //教师团队

    //added at 2015/4/2 by wyh
    private Long groupId; //群组ID
    private Integer groupType; //群组类型（0非群组 1课程群组 2专业群组 3班级群组）
    private String courseLeader; //课程群组老师
    private String leaderPhoto; //课程群组老师照片
    private String groupLeader; //课程负责人

    private String groupName; //课程群组名称


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getSpecId() {
        return specId;
    }

    public void setSpecId(Long specId) {
        this.specId = specId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getNature() {
        return nature;
    }

    public void setNature(Integer nature) {
        this.nature = nature;
    }

    public Integer getKind() {
        return kind;
    }

    public void setKind(Integer kind) {
        this.kind = kind;
    }

    public Integer getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
    }

    public Integer getIsCore() {
        return isCore;
    }

    public void setIsCore(Integer isCore) {
        this.isCore = isCore;
    }

    public Double getCredit() {
        return credit;
    }

    public void setCredit(Double credit) {
        this.credit = credit;
    }

    public Integer getTheoryPeriod() {
        return theoryPeriod;
    }

    public void setTheoryPeriod(Integer theoryPeriod) {
        this.theoryPeriod = theoryPeriod;
    }

    public Integer getPracticePeriod() {
        return practicePeriod;
    }

    public void setPracticePeriod(Integer practicePeriod) {
        this.practicePeriod = practicePeriod;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getFirstLevel() {
        return firstLevel;
    }

    public void setFirstLevel(String firstLevel) {
        this.firstLevel = firstLevel;
    }

    public String getSecondLevel() {
        return secondLevel;
    }

    public void setSecondLevel(String secondLevel) {
        this.secondLevel = secondLevel;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public List<TeacherTeam> getTeam() {
        return team;
    }

    public void setTeam(List<TeacherTeam> team) {
        this.team = team;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public String getCourseLeader() {
        return courseLeader;
    }

    public void setCourseLeader(String courseLeader) {
        this.courseLeader = courseLeader;
    }

    public String getLeaderPhoto() {
        return leaderPhoto;
    }

    public void setLeaderPhoto(String leaderPhoto) {
        this.leaderPhoto = leaderPhoto;
    }

    public String getGroupLeader() {
        return groupLeader;
    }

    public void setGroupLeader(String groupLeader) {
        this.groupLeader = groupLeader;
    }

    public Integer getGroupType() {
        return groupType;
    }

    public void setGroupType(Integer groupType) {
        this.groupType = groupType;
    }


    public String getLessonCode() {
        return lessonCode;
    }

    public void setLessonCode(String lessonCode) {
        this.lessonCode = lessonCode;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
}
